import request from "@/utils/request"

// 查询列表
export function queryPageDeviceConfigMain(data) {
  return request({
    url: "/lDeviceConfigMain/queryPageDeviceConfigMain",
    method: "get",
    params: data
  })
}
export function insertDeviceConfigMain(data) {
  return request({
    url: "/lDeviceConfigMain/insertDeviceConfigMain",
    method: "post",
    data: data
  })
}
export function updateDeviceConfigMain(data) {
  return request({
    url: "/lDeviceConfigMain/updateDeviceConfigMain",
    method: "post",
    data: data
  })
}
export function deleteDeviceConfigMain(data) {
  return request({
    url: "/lDeviceConfigMain/deleteDeviceConfigMain",
    method: "post",
    data: data
  })
}
export function queryAllAgreement() {
  return request({
    url: "/lAgreement/queryAllAgreement",
    method: "get"
  })
}
export function queryPageDevice(data) {
  return request({
    url: "/lDevice/queryPageDevice",
    method: "get",
    params: data
  })
}
// export function queryPageDeviceModelParameter(data) {
//   return request({
//     url: "/lDevice/queryParametersPageByDevice",
//     method: "get",
//     params: data
//   })
// }
export function queryPageDeviceModelParameter(data) {
  return request({
    url: "/lDeviceModelParameters/queryPageDeviceModelParameters",
    method: "get",
    params: data
  })
}
